package org.gaaidou.ptarmigan.springboot.functional.vo;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import org.gaaidou.ptarmigan.springboot.core.BaseBean;
import org.gaaidou.ptarmigan.springboot.functional.bean.RoleType;

import java.util.Date;
import java.util.List;

@Setter
@Getter
public class ExperienceVo extends BaseBean {
    private long id;

    @NotNull
    private Date startTime;

    @NotNull
    private Date endTime;

    @NotEmpty
    private List<@NotNull RoleType> roles;

}
